package com.xpsoft.oa.model.admin;


import java.util.HashSet;
import java.util.Set;

import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.FileAttach;

/**
 * AdminExpensesInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class AdminExpensesInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected AdminExpenses adminExpenses;
	@Expose
	protected String purpose;
	@Expose
	protected java.math.BigDecimal amount;
	@Expose
	protected java.math.BigDecimal billAmount;
	@Expose
	protected Integer billAttachNum;
	protected String fileIds;
	@Expose
	protected Set<FileAttach> fileAttachs = new HashSet<FileAttach>();

	/**
	 * Default Empty Constructor for class AdminExpensesInfo
	 */
	public AdminExpensesInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class AdminExpensesInfo
	 */
	public AdminExpensesInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public AdminExpenses getAdminExpenses() {
		return adminExpenses;
	}

	public void setAdminExpenses(AdminExpenses adminExpenses) {
		this.adminExpenses = adminExpenses;
	}

	public String getFileIds() {
		return fileIds;
	}

	public void setFileIds(String fileIds) {
		this.fileIds = fileIds;
	}

	/**
	 * 用途	 * @return String
	 * @hibernate.property column="purpose" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getPurpose() {
		return this.purpose;
	}
	
	/**
	 * Set the purpose
	 */	
	public void setPurpose(String aValue) {
		this.purpose = aValue;
	}	

	/**
	 * 金额（元）	 * @return java.math.BigDecimal
	 * @hibernate.property column="amount" type="java.math.BigDecimal" length="13" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getAmount() {
		return this.amount;
	}
	
	/**
	 * Set the amount
	 */	
	public void setAmount(java.math.BigDecimal aValue) {
		this.amount = aValue;
	}	

	/**
	 * 	 * @return java.math.BigDecimal
	 * @hibernate.property column="billAmount" type="java.math.BigDecimal" length="13" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getBillAmount() {
		return this.billAmount;
	}
	
	/**
	 * Set the billAmount
	 */	
	public void setBillAmount(java.math.BigDecimal aValue) {
		this.billAmount = aValue;
	}

	public Integer getBillAttachNum() {
		return billAttachNum;
	}

	public void setBillAttachNum(Integer billAttachNum) {
		this.billAttachNum = billAttachNum;
	}

	public Set<FileAttach> getFileAttachs() {
		return fileAttachs;
	}

	public void setFileAttachs(Set<FileAttach> fileAttachs) {
		this.fileAttachs = fileAttachs;
	}	


}
